/*
MQ thrift协议
[vesion] v1.0.0

*/

namespace java common.mq.sender.thrift


struct TRequest {
  1: required string caller,
  2: required string mid,
  3: optional string key,
  4: optional string sign,
  5: required map<string,string> content,
}

struct TResponse {
  1: required i32 code,
  2: required string msg,
}

service TConsumerService {

	TResponse receiveMessage(1:TRequest request),	//发送消息

}
